<@mup.link href="/mine/casebase/css/casebase.css?v=2023-04-24T10:54:57Z" model="all"/>
<@mup.script src="/mine/casebase/js/dialog.js?v=2023-04-24T10:54:57Z" model="all"/>
<div id="dialog-casebase-tempo-public" style="height: 100%;">
	<form action='${gatewayPath}/api/ai/sysconfig/casebase/saveCaseBase' enctype="multipart/form-data" method="POST">
		<input type="hidden" name="id" id="id"/>
		<input type="hidden" name="path" id="path"/>
		<table style="width:100%;">
			<tr>
				<td class="formLayoutTit"><label><span style="padding: 3px;color: red;">*</span><@spring.message "aidsview.theme-name"/></label></td>
				<td colspan="3">
					<input  type="text" id="name"  ui-role="validatebox"  autofocus="autofocus" name="name" class="tempo-validatebox" placeholder="请输入案例名称" style="width:300px;"/>
				</td>
			</tr>
			<tr>
				<td class="formLayoutTit"><label><span style="padding: 3px;color: red;">*</span>描述</label></td>
				<td colspan="3">
					<textarea id="description"  ui-role="validatebox"  name="description" class="tempo-validatebox" placeholder="请输入描述信息" style="width:300px;height:70px;padding: 10px;resize:none;line-height: 1.5;word-break: break-all;overflow: auto"></textarea>
				</td>
			</tr>
			<tr>
				<td class="formLayoutTit"><label><span style="padding: 3px;color: red;">*</span>作者</label></td>
				<td colspan="3">
					<input type="text" id="author"  name="author" class="tempo-validatebox" ui-role="validatebox" placeholder="请输入作者" style="width:300px;"/>
				</td>
			</tr>
			<tr>
				<td class="formLayoutTit"><label><span style="padding: 3px;color: red;">*</span>技术</label></td>
				<td colspan="3">
					<select id="category" name="category" class="tempo-validatebox" style="width:300px">
						<option value="分类">分类</option>
						<option value="回归">回归</option>
						<option value="聚类">聚类</option>
						<option value="时间序列">时间序列</option>
						<option value="关联规则">关联规则</option>
						<option value="综合评价">综合评价</option>
						<option value="文本分析">文本分析</option>
					</select>
				</td>
			</tr>
			<tr>
				<td class="formLayoutTit"><label><span style="padding: 3px;color: red;">*</span>附件上传</label></td>
				<td colspan="3">
					<a href="javascript:void(0)"   class="uploadFile-btn">
						<span class="tempo-upload-file" style="float: left;margin-left: 12px;">＋上传案例说明.pdf文件</span>
						<input title="pdf文件" id="pdfFile" class="uploadinput" name="pdfFile" accept=".pdf" type="file" style="cursor: pointer;font-size: 100px" unselectable="on"/>
					</a>
					<label class="uploadfile-text lable-upload" >
						<span class="fimeName-text">
							<i class="ui-icon tempo-ui-icon tempo-ui-icon-table-file icon-start"> </i>
								<span class="file-text" id="pdfSpan"></span>
							<label id="endIcon" style="cursor: pointer;">
								<i class="ui-icon tempo-ui-icon tempo-ui-icon-white-threed-circle-plus icon-end"></i>
							</label>
						</span>
					</label>
				</td>
			</tr>
			<tr>
				<td class="formLayoutTit"></td>
				<td colspan="3">
					<a href="javascript:void(0)"   class="uploadFile-btn">
						<span class="tempo-upload-file" style="float: left;margin-left: 12px;">＋上传图片.png/jpg/jpeg</span>
						<input  title="图片文件" id="pngFile" class="uploadinput" name="pngFile" accept=".png,.jpg,.jpeg" type="file" style="cursor: pointer;font-size: 100px" unselectable="on"/>
					</a>
					<label class="uploadfile-text lable-upload" >
						<span class="fimeName-text" >
							<i class="ui-icon tempo-ui-icon tempo-ui-icon-extend icon-start" ></i>
								<span class="file-text" id="pngSpan"></span>
							<label id="endIcon" style="cursor: pointer;">
								<i class="ui-icon tempo-ui-icon tempo-ui-icon-white-threed-circle-plus icon-end"></i>
							</label>
						</span>
					</label>
				</td>
			</tr>
			<tr>
				<td class="formLayoutTit"></td>
				<td colspan="3">
					<a href="javascript:void(0)"  class="uploadFile-btn">
						<span class="tempo-upload-file" style="float: left;margin-left: 12px;">＋上传应用.tapp文件</span>
						<input  title="tapp文件" id="tappFile" class="uploadinput" name="tappFile" accept=".tapp" type="file" style="cursor: pointer;font-size: 100px" unselectable="on"/>
					</a>
					<label class="uploadfile-text lable-upload" >
						<span class="fimeName-text">
							<i class="ui-icon tempo-ui-icon tempo-ui-icon-selectmenu-li icon-start" ></i>
								<span class="file-text" id="tappSpan"></span>
							<label id="endIcon" style="cursor: pointer;">
								<i class="ui-icon tempo-ui-icon tempo-ui-icon-white-threed-circle-plus icon-end icon-change"></i>
							</label>
						</span>
					</label>
				</td>
			</tr>
		</table>
		<div id="fileMsg" style="color: red;margin: 0 22%;position: absolute;bottom: 10px;display: none;" ></div>
	</form>
</div>